

public class Administrator {
    public String name;
    public int password;
    public int newpassword;
    public void succeed(){
            System.out.println("修改密码成功，您的新密码为："+newpassword);
        }
    public void defeated(){
        System.out.println("用户名和密码不一样！您没有权限更新管理员信息");
    }
    }

